package com.lnkj.spcj.ui.upload

import com.lnkj.spcj.base.BasePresent
import com.lnkj.spcj.base.BaseView
import com.luck.picture.lib.entity.LocalMedia

class UploadContract {
    interface View : BaseView {
        fun onUploadStart()
        fun onUploadFinish()
        fun onUploadProgress(s: String)
        fun upLoadFiles(type: Int, arrayList: MutableList<String>)
        fun saveVideo()
    }

    abstract class Present : BasePresent<View>() {
        abstract fun upLoadFiles(type: Int, arrayList: MutableList<LocalMedia>)
        abstract fun saveVideo(video_url:String,station_id:String,company_id:String,department_id:String)
    }
}